package com.itheima.reggie.dto;

import com.itheima.reggie.entity.OrderDetail;
import com.itheima.reggie.entity.Orders;
import lombok.Data;
import org.springframework.context.annotation.Bean;

import java.util.ArrayList;
import java.util.List;


/**
 * @author：shaodan.wang
 * @date: 2022-05-07
 */

@Data
public class OrderDto extends Orders {

    //订单状态
  private Integer status;

  //订单细节
  private List<OrderDetail> orderDetails = new ArrayList<>();

}
